Package com.cisco.pt.ipc.sim
Interface FrameRelayProcess
- All Superinterfaces:
IPCObject,PortKeepAliveProcess,Process
- All Known Implementing Classes:
FrameRelayProcessImpl
Information provided by the PKI file:
\class FrameRelayProcess
\brief FrameRelayProcess handles and manipulates the Frame Relay process.
\example network().getDevice("Router0").getPort("Serial0/0/0").getKeepAliveProcess()
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddIntDlciEntry(String portName, int dlci) Information provided by the PKI file:booleanaddMapEntry(IPAddress ipAddress, int dlci, boolean bBroadcast, FrameRelayEncapType encapType, String portName) Information provided by the PKI file:voidInformation provided by the PKI file:booleandeleteIntDlciEntry(String portName, int dlci) Information provided by the PKI file:booleandeleteMapEntry(String portName, IPAddress ipAddress) Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:getIntDlciEntryAt(int index, String portName) Information provided by the PKI file:intgetIntDlciEntryCount(String portName) Information provided by the PKI file:getIntDlciToPort(int dlci) Information provided by the PKI file:getLmiDlciEntryAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleangetLmiDlciStatusEntryAt(int index) Information provided by the PKI file:Information provided by the PKI file:getMapEntryAt(int index, String portName) Information provided by the PKI file:intgetMapEntryCount(String portName) Information provided by the PKI file:voidsetEncapType(FrameRelayEncapType encapType) Information provided by the PKI file:voidsetLmiType(LMIType lmiType) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.PortKeepAliveProcess
getKeepAliveInterval, isKeepAliveOn, setKeepAliveInterval, setKeepAliveOnMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
setLmiType
Information provided by the PKI file:
\brief Sets the LMI type for this Frame Relay process. \param lmiType, the LMI type. LMI types: eLmiAnsi = 0, eLmiCisco = 1, eLmiQ933a = 2- Parameters:
lmiType- Takes in a parameter of lmiType
-
setEncapType
Information provided by the PKI file:
\brief Sets the encapsulation type for this Frame Relay process. \param encapType, the encapsulation type. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2- Parameters:
encapType- Takes in a parameter of encapType
-
getEncapType
FrameRelayEncapType getEncapType()Information provided by the PKI file:
\brief Returns the encapsulation type of this Frame Relay process. \return FrameRelayEncapType, the encapsulation type of this Frame Relay process. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2- Returns:
- FrameRelayEncapType Returns a FrameRelayEncapType
-
getLmiType
LMIType getLmiType()Information provided by the PKI file:
\brief Returns the encapsulation type of this Frame Relay process. \return LmiType, the LMI type of this Frame Relay process. LMI types: eLmiAnsi = 0, eLmiCisco = 1, eLmiQ933a = 2- Returns:
- LMIType Returns a LMIType
-
addMapEntry
boolean addMapEntry(IPAddress ipAddress, int dlci, boolean bBroadcast, FrameRelayEncapType encapType, String portName) Information provided by the PKI file:
\brief Adds a map entry to the specified port. \param ipAddress, the IP address to map. \param dlci, the DLCI number. \param bBroadcast, true forwards broadcasts to this address, false does not forward broadcasts. \param encapType, the encapsulation type of this Frame Relay process. Encapsulation types: eFrameRelayEncapCisco = 0, eFrameRelayEncapIetf = 1, eFrameRelayEncapDefault = 2 \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Parameters:
ipAddress- Takes in a parameter of ipAddressdlci- Takes in a parameter of dlcibBroadcast- Takes in a parameter of bBroadcastencapType- Takes in a parameter of encapTypeportName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
addIntDlciEntry
Information provided by the PKI file:
\brief Adds a interface-DLCI entry the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param dlci, the DLCI number. \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portNamedlci- Takes in a parameter of dlci- Returns:
- boolean Returns a boolean
-
deleteMapEntry
Information provided by the PKI file:
\brief Removes the map entry from the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param ipAddress, the IP address of the map. \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portNameipAddress- Takes in a parameter of ipAddress- Returns:
- boolean Returns a boolean
-
deleteIntDlciEntry
Information provided by the PKI file:
\brief Removes the interface-DLCI entry from the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param dlci, the DLCI number. \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portNamedlci- Takes in a parameter of dlci- Returns:
- boolean Returns a boolean
-
getMapEntryAt
Information provided by the PKI file:
\brief Returns the map entry at the specified index on the specified port. \param index, the index of the map entry of interest. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return FrameRelayMapEntry, the FrameRelayMapEntry object at the specified index on the specified port.- Parameters:
index- Takes in a parameter of indexportName- Takes in a parameter of portName- Returns:
- FrameRelayMapEntry Returns a FrameRelayMapEntry
-
getIntDlciEntryAt
Information provided by the PKI file:
\brief Returns the interface-DLCI number at the specified index on the specified port. \param index, the index of the interface-DLCI of interest. \param portName portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return short, the interface-DLCI number at the specified index on the specified port.- Parameters:
index- Takes in a parameter of indexportName- Takes in a parameter of portName- Returns:
- Short Returns a Short
-
getLmiDlciEntryAt
Information provided by the PKI file:
\brief Returns LMI DLCI at the specified index. \param index, the index of the LMI DLCI of interest. \return short, the LMI DLCI at the specified index.- Parameters:
index- Takes in a parameter of index- Returns:
- Short Returns a Short
-
getLmiDlciStatusEntryAt
boolean getLmiDlciStatusEntryAt(int index) Information provided by the PKI file:
\brief Returns true if the LMI DLCI at the specified index is active, otherwise false. \param index, the index of the LMI DLCI of interest. \return bool, true if the LMI DLCI at the specified index is active, otherwise false.- Parameters:
index- Takes in a parameter of index- Returns:
- boolean Returns a boolean
-
getMapEntryCount
Information provided by the PKI file:
\brief Returns the number of map entries. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return int, the number of map entries.- Parameters:
portName- Takes in a parameter of portName- Returns:
- int Returns a int
-
getIntDlciEntryCount
Information provided by the PKI file:
\brief Returns the number of interface-DLCI entries. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return int, the number of interface-DLCI entries.- Parameters:
portName- Takes in a parameter of portName- Returns:
- int Returns a int
-
getLmiDlciEntryCount
int getLmiDlciEntryCount()Information provided by the PKI file:
\brief Returns the number of LMI DLCI entries. \return int, the number of LMI DLCI entries.- Returns:
- int Returns a int
-
getIntDlciToPort
Information provided by the PKI file:
\brief Returns the port of the specified interface-DLCI. \param dlci, the interface-DLCI of interest. \return Port, the Port object of the specified interface-DLCI.- Parameters:
dlci- Takes in a parameter of dlci- Returns:
- Port Returns a Port
-
clearInvArpEntries
void clearInvArpEntries()Information provided by the PKI file:
\brief Clears the inverse ARP entries. -
getDlciTable
DLCITable getDlciTable()Information provided by the PKI file:
\brief Returns the DLCI table. \return DlciTable, the DlciTable object.- Returns:
- DLCITable Returns a DLCITable
-